import api from './index'
import { axios } from '@/utils/request'
import Qs from 'qs'

export function diagnosisSave(parameter) {
  return axios({
    url: api.DiagnosisSava,
    method: 'post',
    data: Qs.stringify(parameter)
  })
}
export function diagnosisDel(parameter) {
  return axios({
    url: api.DiagnosisDel,
    method: 'post',
    data: parameter
  })
}
export function diagnosisList(parameter) {
  return axios({
    url: api.DiagnosisList,
    method: 'get',
    params: parameter
  })
}
export function diagnosisInfo(parameter) {
  return axios({
    url: api.DiagnosisInfo,
    method: 'get',
    params: parameter
  })
}
